package com.warm.pump.module.work.mapper.gen;

import com.warm.pump.module.work.bean.po.gen.WorkItemSub;
import com.warm.pump.module.work.bean.po.gen.WorkItemSubExample;

import java.util.List;

import org.apache.ibatis.annotations.Param;
import org.apache.ibatis.annotations.Mapper;

@org.apache.ibatis.annotations.Mapper
public interface WorkItemSubMapper {
    int countByExample(WorkItemSubExample example);

    int deleteByExample(WorkItemSubExample example);

    int deleteByPrimaryKey(@Param("id") Long id);

    int insert(WorkItemSub record);

    int insertSelective(WorkItemSub record);

    List<WorkItemSub> selectByExample(WorkItemSubExample example);

    WorkItemSub selectByPrimaryKey(@Param("id") Long id);

    int updateByExampleSelective(@Param("record") WorkItemSub record, @Param("example") WorkItemSubExample example);

    int updateByExample(@Param("record") WorkItemSub record, @Param("example") WorkItemSubExample example);

    int updateByPrimaryKeySelective(WorkItemSub record);

    int updateByPrimaryKey(WorkItemSub record);
}
